package gov.pbc.nn.kjgl.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

import gov.pbc.nn.core.entity.BaseEntity;


/**
 * 档案人员关联关系表
 */
@Entity
@Table(name="T_ARCHIVES_MEMBER")
public class ArchivesMember extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Column(name = "ARCHIVES_ID_", length = 60)
	@PropertyDef(label = "档案ID", description = "档案ID:档案ID")
	private String archivesId;
	
	@Column(name = "MEMBER_ID_", length = 60)
	@PropertyDef(label = "用户名", description = "部门ID或用户名")
	private String memberId;
	
	@Column(name = "TYPE_")
	@PropertyDef(label = "类型", description = "0：开放单位,1:二级档案管理员,2:档案录入员")
	private int type;
	
	@Column(name = "DEPT_NAME_", length = 60)
	@PropertyDef(label = "部门名称", description = "部门名称:部门名称")
	private String deptName;
	
	@Column(name = "CNAME_", length = 60)
	@PropertyDef(label = "用户姓名", description = "用户姓名：用户姓名")
	private String cname;
	
	
	
	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getArchivesId() {
		return archivesId;
	}

	public void setArchivesId(String archivesId) {
		this.archivesId = archivesId;
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
}
